Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController A

Total Complexity 57
Dependencies 10
Dependents 14
Total lines 585
Lines of code 290
Logical lines of code 114
Comment lines 157
Methods 23
Properties 7

Methods 23

Method Rating Maintainability Complexity Lines of code
get_settings()
A
36 10 87
process_pre_update_option()
S
63 6 11
add_initiate_regeneration_entry_to_tools_array()
S
51 3 29
process_options_updated()
S
63 4 11
create_custom_orders_tables()
S
66 4 7
handle_feature_enabled_changed()
S
65 4 9
get_data_store_instance()
S
63 3 12
process_sync_finished()
S
64 3 11
process_updated_option()
S
73 3 5
register_post_type_for_order_placeholders()
S
54 1 24
delete_custom_orders_tables()
S
69 2 7
get_settings_sections()
S
68 2 7
custom_orders_table_usage_is_enabled()
S
78 2 3
init_hooks()
S
59 1 13
hide_feature()
S
63 1 11
show_feature()
S
63 1 11
get_refunds_data_store()
S
79 1 3
get_orders_data_store()
S
79 1 3
get_valid_transaction_isolation_levels()
S
69 1 8
auto_flip_authoritative_table_enabled()
S
79 1 3
is_feature_visible()
S
80 1 3
init()
S
65 1 9
__construct()
S
82 1 3